java swing dialog box

84

dialog box in java swing -

import javax.swing.JOptionPane;

public class Main {
  public static void main(String[] argv) throws Exception {

    JOptionPane.showMessageDialog(null, "I am happy.");

  }
}

java swing dialog box -

JOptionPane.showMessageDialog(null, "java is fun");

Comments

Submit
0 Comments